<?php

function _write_comment(){

$html = <<<HTML
<div id="write-comment" class="module">                
	<form action="action.php?do=comment" method="post">      
        <input name="send-comment" type="submit" value="Gửi nhận xét" />            
        <textarea name="comment-text" rows="3"></textarea>
    </form>
</div>
HTML;

printf($html);
}

if (check_permission('user')){
	_write_comment();	
}

?>